package de.hfu.helper;

import android.widget.RatingBar;
import de.hfu.model.Dish;

public class DataCarrier {
	
	private static DataCarrier instance = new DataCarrier();
	private Dish dish;
	private Dish dishKennzeichnung;
	private boolean changed;	
	
	private DataCarrier(){
		dish = new Dish();		
	}
	
	public static DataCarrier getInstance() {
		return instance;
	}
	
	public void setDish(Dish dish) {
		this.dish = dish;
	}
	
	public Dish getDish() {
		return this.dish;
	}
	
	public boolean isChanged() {
		return changed;
	}

	public void setChanged(boolean changed) {
		this.changed = changed;
	}

	public Dish getDishKennzeichnung() {
		return dishKennzeichnung;
	}

	public void setDishKennzeichnung(Dish dishKennzeichnung) {
		this.dishKennzeichnung = dishKennzeichnung;
	}
}
